package com.zzx.boot.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zzx.boot.pojo.Employee;

public interface EmployeeMapper extends BaseMapper<Employee> {
    /**
     *  用户登录
     * @param employee
     * @return
     */
    Employee selectByIdAndName(Employee employee);

    /**
     * 添加员工
     * @param employee
     * @return
     */
//    int addEmployee(Employee employee);

    int UpdateBYId(Employee employee);

}
